MIDI : MIDI Editing : Remove Duplicate Notes

Remove Duplicate Notes
The Remove Duplicate Notes command is used to remove duplicate MIDI notes. If a note starts within the first 25% of the duration of a note of the same pitch which is already sounding (or within an eighth-note, whichever is shorter), it is considered a duplicate and is combined with the previous note. If it starts later than that, the first note is shortened so that it ends at the same tick at which the new one starts.
To remove duplicate notes:
1 Make an Edit selection including the duplicate notes you want to remove.
2 Choose Event > Remove Duplicate Notes.